package sy2;

import java.util.Scanner;

public class CarText {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        Car car=new Car("红旗","皖M88888","轿车");
        System.out.println("请输入要租车的天数：");
        int day=sc.nextInt();
        System.out.println(car.getBrand());
        System.out.println("租车费用："+car.calRent(2));

    }
}
